package com.techysky.xsd.dm;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


@XmlType(name = "linkActuateAttType")
@XmlEnum
public enum LinkActuateAttType {

    @XmlEnumValue("onLoad")
    ON_LOAD("onLoad"),
    @XmlEnumValue("onRequest")
    ON_REQUEST("onRequest");
    private final String value;

    LinkActuateAttType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static LinkActuateAttType fromValue(String v) {
        for (LinkActuateAttType c: LinkActuateAttType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
